<template>
	<view class="container">
		<view class="bg">
			<view class="navtitle">
				<view class="left" @click="back"></view>
				<view class="title">
					团购优惠
				</view>
			</view>
		</view>
		<view class="card">
			<uni-card style="border-radius: 30rpx;">
				<view class="ctitle">
					汽车惠民活动走进群众生活
				</view>
				<view class="subtitle">
					<view class="tleft">
						济源某某汽车行业
					</view>
					<view class="tright">
						2023/3/10 11:09
					</view>
				</view>
				<view class="img">
					<image src="../../../static/user3/coupon1.png"></image>
				</view>
				<view class="introduce">
					<span>哇塞！薅羊毛的看过来！易车修汽车维修服务中心出优惠团购了！纯手工洗车只要25元一次，还赠送
						20元油券！</span>
				</view>
			</uni-card>
		</view>
		<view class="card2">
			<uni-card style="border-radius: 20rpx;">
				<view class="price">
					<view class="price1">
						价格：￥99.00
					</view>
					<view class="price2">
						原价：￥199.00
					</view>
				</view>
				<view class="time">活动起止日期：2023-3-10 08：00至2023-3-18 23：59</view>
				<view class="phone">
					咨询电话：0379-66666666
				</view>
				<view class="warn">
					注意事项：暂无
				</view>
			</uni-card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>

<style scoped>
	.bg {
		width: 100%;
		height: 360rpx;
		background-color: #3082fb;
		overflow: hidden;
	}

	.navtitle {
		display: flex;
		margin-top: 40rpx;
		/* border: 1px solid red; */
		align-items: center;
	}

	.navtitle .left {
		width: 28rpx;
		height: 28rpx;
		margin-left: 20rpx;
		border-left: 2px solid white;
		border-bottom: 2px solid white;
		transform: rotate(45deg);
	}

	.bg .title {
		color: #e0ebfd;
		font-size: 40rpx;
		margin-left: 260rpx;
		font-family: 'Times New Roman', Times, serif;
		font-weight: 600;
	}
	.card{
		margin-top: -210rpx;
	}
	.card .ctitle {
		text-align: center;
		font-size: 30rpx;
		font-weight: bold;
	}

	.card .subtitle {
		margin-top: 10rpx;
		display: flex;
		justify-content: space-between;
		font-size: 22rpx;
		color: #b8b8b8;
	}

	.img image {
		height: 460rpx;
		border-radius: 24rpx;
		margin-top: 20rpx;
	}

	.introduce {
		text-indent: 2em;
	}
	.card2 .price{
		display: flex;
	}
	.price1{
		color: #ff5926;
		font-size: 36rpx;
	}
	.price2{
		margin-left: 50rpx;
		font-size: 22rpx;
		text-decoration-line: line-through;
	}
	.time{
		margin-top: 10rpx;
		font-size: 26rpx;
		font-weight: 600;
	}
	.phone{
		margin-top: 10rpx;
		font-weight: 600;
	}
	.warn{
		margin-top: 10rpx;
		font-weight: 600;
	}
</style>